package com.tongtong.neo4j.entity;

import lombok.Data;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;


/**
 * @Title: BaseNode
 * @Author zl
 * @Package com.tongtong.neo4j.entity
 * @Date 2025/8/27 8:25
 * @description: neo4j映射实体
 */
@Data
@Node
public class BaseNode {
    @Id
    private String id;
    @Property
    private String name;
}
